#include "Punto.h"
#include "Triangulo.h"
#include "Linea.h"

void set_gid_update_callback( void ( *fnc)());

class Scalars;

int write_gid_files( const char *filename,
                     const char *obj_name, 
                     int num_puntos, const Punto *lst_puntos,
                     int num_triangulos, const Triangulo *lst_triangulos,
                     int num_lineas, const Linea *lst_lineas,
                     const Scalars **lst_scalars = NULL); // last_scalar[ i] should be NULL

const char *get_gid_error(); // gets error string if there was any error while reading ply file
